ans = 100
bingo = False
print ('please enter a num')
while bingo == False:
    num = int(input())
    if num > ans:
        print ('%d is biger,please retry'%num)
    if num < ans:
        print ('%d is smaller,please retry'%num)
    if num == ans:
        print ('%d is right,great!'%num)
        bingo = True
